<div class="" style="top:10px;    margin: 10px;">
    <form action="{:search_url(['type','name','export'])}" method="GET" pjax-search="" id="export_form">
        <div class="input-group input-group-sm">
            <input type="hidden" name="page" value="1" />
            <select class="select2" name="cate_id" style="width: 100px;display: inline-block;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;">
                <option value="0">全部</option>
                {volist name='list_user' id='k'}
                <option value="{$k.id}" {if condition="$k.id eq input('get.cate_id',0)"}selected{/if}>{if condition="!empty($k.p_name)"}{$k.p_name}/{/if}{$k.name}</option>
                {/volist}
            </select>
            <div style="width: 247px;float: right;">
                <input type="text" style="display: inline-block;width: 200px;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;" name="name" class="" value="{:input('get.name')}" placeholder="{$placeHolderSearch|default='名称'}" />
                <div class="input-group-btn" style="display: inline-block;">
                    <button type="submit" class="btn btn-default sreachs">
                        <i class="fa fa-search"></i> 查询
                    </button>
                    <button type="button" class="btn btn-default type_explode" style="margin-left:10px;">导出Excel</button>
                </div>

            </div>

        </div>
    </form>
</div>
<script>
    $('.type_explode').on('click',function () {
        window.location.href = "{:url('integral/fixed')}?" + $('#export_form').serialize()+'&export=1';
        return false;
    });
</script>
